#ifndef _GLOBALS_
#define _GLOBALS_

#include <windows.h>
#include "OH-general.h"
#include "ezlogger_headers.hpp"

const int PLAYERSNUM=9;

enum ActionType{
	AT_FOLD,
	AT_SB,
	AT_BB,
	AT_LIMP,
	AT_CALL,
	AT_RAISE,
	AT_ALLIN,
	AT_NONE
};

class sfGlobals
{
	static sfGlobals* pGlobals;
public:
	sfGlobals()
	{
		EZLOGGERSTREAM << "sfGlobals Constructor" << std::endl;
		//Init();		
	}
	

	static void Init()
	{
		EZLOGGERSTREAM << "sfGlobals Init" << std::endl;
		pGlobals=new sfGlobals();
	}
	static sfGlobals* GetSingleton()
	{
		//EZLOGGERSTREAM <<"GetSingleton " <<pGlobals << std::endl;
		if(pGlobals==0) Init();
		//EZLOGGERSTREAM <<"GetSingleton "<< pGlobals << std::endl;
		return pGlobals;
	}
////////////////////
	//CONSECUTIVE STATES
holdem_state    m_holdem_state[256]; 
unsigned char   m_ndx;

//VERSUS LIST AND PRWIN
phl1k_t m_phl1k;
pp13 prw1326;

//SYMBOLS VAR
pfgws_t m_pget_winholdem_symbol;

double decision;
bool ismyturn;
};

#endif